type TGameList = Api.GetData<typeof apis.apiGameAll>['game_list'];
// 统一跳转到游戏列表

export function buildGameListRoute(detail: TGameList[0] | { alias: string }) {
  return {
    name: RN.GAMELIST,
    params: {
      typeCode: detail.alias,
    },
  };
}
